package ioc;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * @date 2023/6/22 15:36
 * 车身类
 */
public class Framework {

    private Bottom bottom;

    public Framework(Bottom bottom) {
        this.bottom = bottom;
    }

    public void init() {
        System.out.println("调用了 framework 的 init");
        bottom.init();
    }
}
